import Cookies from 'js-cookie'


export function getToken(name) {
  if(name){
    return Cookies.get(name)
  }else{
    return Cookies.get()
  }
  
}

export function setToken(name,vuale) {
  return Cookies.set(name, vuale)
}

export function removeToken(name) {
  return Cookies.remove(name)
}
